<template>
  <view class="page">
    <view class="content">
      <view class="nav">
        <view class="nav_content nav_content1">
          <view
            class="nav_item"
            @click="switchPage('/pages/classWork/classWork')"
          >
            <text>课堂作业</text>
          </view>
          <view class="nav_item" @click="switchPage('/pages/task/paper/paper')">
            <text>个人考试卷</text>
          </view>
          <view
            class="nav_item"
            @click="switchPage('/pages/task/combat/combat')"
          >
            <text>对抗赛</text>
          </view>
          <view
            class="nav_item"
            @click="switchPage('/pages/task/rank/rank')"
          >
            <text>排位赛</text>
          </view>
          <view class="nav_item" @click="switchPage('/pages/mindMap/mindMap')">
            <text>思维导图</text>
          </view>
        </view>
        <view
          class="nav_center"
          @click="switchPage('/pages/evaluation/evaluation')"
        >
          <view>第26 次</view>
          <text>个人评测</text>
        </view>
        <view class="nav_content nav_content2">
          <view class="nav_item" @click="switchPage('/pages/spelling/letter')">
            <text>自然拼读</text>
          </view>
          <view
            class="nav_item"
            @click="switchPage('/pages/examination/examination')"
          >
            <text>听说考试</text>
          </view>
          <view
            class="nav_item"
            @click="switchPage('/pages/listening/listening')"
          >
            <text>听力测试</text>
          </view>
          <view class="nav_item" @click="switchPage('/pages/scene/scene')">
            <text>场景口语</text>
          </view>
        </view>
        <view class="nav_bg"></view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  onLoad() {},
  methods: {
    switchPage(url) {
      uni.navigateTo({
        url: url,
      });
    },
  },
};
</script>

<style lang="scss" scoped>
@import "./nav";
</style>
